package com.smart.home.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@ApiModel("能源日报信息")
public class EnergySummary {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("家庭ID")
    private Long homeId;

    @ApiModelProperty("汇总日期")
    private LocalDate summaryDate;

    @ApiModelProperty("总能耗 (kWh)")
    private Double totalConsumption;

    @ApiModelProperty("峰值功率 (kW)")
    private Double peakPower;

    @ApiModelProperty("平均电压 (V)")
    private Double avgVoltage;

    @ApiModelProperty("最后更新时间")
    private LocalDateTime updatedAt;
}
